a double-edged weapon

Translations
une arme à double tranchant
Definitions
A double-edged weapon is a tool or instrument that has two sharp edges, allowing it to cut or harm from both sides. Metaphorically, it refers to a situation or action that has both positive and negative consequences.